﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GrupyzServices.BdAccess.ParceiroContactoViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
Desconto em Grupo - Contacte-nos!
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="intro" style="text-align:center;min-height:65px;">
<h3 >Quer saber mais sobre as nossas ofertas? Quer começar a anunciar os seus descontos? Contacte-nos, teremos todo o gosto em ajudá-lo.</h3>
</div>
<div>
<% Html.EnableClientValidation(); %>
<% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

            <div class="editor-label">
                <%: Html.LabelFor(model => model.Nome) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Nome, new { size="50px" })%>
                <%: Html.ValidationMessageFor(model => model.Nome) %>
            </div>

            <div class="editor-label">
                <%: Html.LabelFor(model => model.NomeNegocio) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.NomeNegocio, new { size = "50px" })%>
                <%: Html.ValidationMessageFor(model => model.NomeNegocio)%>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Email) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Email, new { size = "50px" })%>
                <%: Html.ValidationMessageFor(model => model.Email) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Telefone) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Telefone, new { maxlength = "9" })%>
                <%: Html.ValidationMessageFor(model => model.Telefone) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Morada) %>
            </div>
            <div class="editor-field">
                <%: Html.TextAreaFor(model => model.Morada, new { style = "width: 377px;" })%>
                <%: Html.ValidationMessageFor(model => model.Morada) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Localidade) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Localidade, new { size = "50px" })%>
                <%: Html.ValidationMessageFor(model => model.Localidade) %>
            </div>

            <div class="editor-label">
                <%: Html.LabelFor(model => model.CodPostal) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.CodPostal) %>
                <%: Html.ValidationMessageFor(model => model.CodPostal) %>
            </div>
                        
            <div class="editor-label">
                <%: Html.LabelFor(model => model.WebSite) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.WebSite, new { size = "50px" })%>
                <%: Html.ValidationMessageFor(model => model.WebSite) %>
            </div>
            <p style="text-align: right; width: 380px; margin-top: 25px;">
                <input type="submit" value="Enviar" style="width: 140px; height: 30px; font-weight: bold;" />
            </p>


    <% } %>
    </div>
</asp:Content>
